package com.gwm.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gwm.item.pojo.TbSku;


/**
 * <p>
 * sku表,该表表示具体的商品实体,如黑色的 64g的iphone 8 服务类
 * </p>
 *
 * @author heima
 * @since 2020-12-01
 */
public interface TbSkuService extends IService<TbSku> {
    //        update tb_sku set stock=stock-? where id=skuId
    void stockMinus(Integer integer, Long skuId);

    void stockPlus(Integer integer, Long skuId);
}
